/**
 * @FileName ConcreteMediator.java
 * @Package com.designMode.mediator
 * -------------------------------------
 * @function Please write description of function
 * @Date 2016-1-5 下午5:10:37
 * -------------------------------------
 * Copyright (c) 2016,顾博君 All Rights Reserved.
 */
package com.designMode.mediator;

/**
 * @ClassName ConcreteMediator
 * @author 顾博君
 * @Date 2016-1-5 下午5:10:37
 * @Function 具体中介者
 */
public class ConcreteMediator extends Mediator {

	@Override
	public void doSomething1() {
		// 调用同事类的方法
		System.out.print("中介者找到同事1->");
		super.getC1().selfMethod();
	}

	@Override
	public void doSomething2() {
		System.out.print("中介者找到同事2->");
		super.getC2().selfMethod();
	}
}
